@import "../../common/style/var.less";
.default-coupon{
  position: relative;
  width: 100%;
  height: 115px;
  margin-bottom: 10px;
  font-size: @font-size-normal;
  background: radial-gradient(circle at right top, transparent 8px, @assist-color-b 0) top left / 85% 51% no-repeat,
  radial-gradient(circle at right bottom, transparent 8px, @assist-color-b 0) bottom left /85% 51% no-repeat,
  radial-gradient(circle at left top, transparent 8px, @assist-color-b 0) top right /15% 51% no-repeat,
  radial-gradient(circle at left bottom, transparent 8px, @assist-color-b 0) bottom right /15% 51% no-repeat;
  &::after{
    content: '';
    height: 95px;
    border: 1px dashed #fff;
    position: absolute;
    left: 85%;
    top: 0;
    bottom: 0;
    margin: auto;
  }
  &:last-child{
    margin: 0;
  }
  img.cover{
    width: 95px;
    height: 95px;
    margin: 10px 0 0 10px;
    float: left;
    border-radius: 10px;
  }
  p{
    &.name{
      width: 170px;
      font-size: @font-size-normal;
      float: left;
      margin: 10px 0 0 5px;
      font-weight: bold;
      line-height: 110%;
    }
    &.face-value{
      float: left;
      width: 170px;
      height: 25px;
      line-height: 25px;
      margin: 5px 0 0 5px;
      font-size: @font-size-max;
      font-weight: bold;
    }
    &.inventory{
      position: absolute;
      bottom: 25px;
      left:110px;
    }
    &.time{
      position: absolute;
      bottom: 10px;
      left:110px;
      width: 170px;
      font-size: @font-size-min;
    }
    &.type{
      position: absolute;
      right: 15px;
      top:50%;
      transform: translateY(-50%);
      width: 20px;
      line-height: 130%;
      font-size: @font-size-max;
      text-align: center;
      font-weight: bold;
    }
  }
  &.not-cover{
    p{
      &.name{
        width: 270px;
        margin-left: 10px;
      }
      &.inventory{
        left:10px;
      }
      &.face-value{
        margin-left: 10px;
      }
      &.time{
        left:10px;
      }
    }
  }
}
